//
// Created by Administrator on 2022/10/10 0010.
//

#ifndef ONIX_STDARG_H
#define ONIX_STDARG_H

typedef char *va_list;

#define va_start(ap, v) ((ap) = (va_list)&(v) + sizeof(char *))
#define va_arg(ap, t) (*(t *)(((ap) += sizeof(char *)) - sizeof(char *)))
#define va_end(ap) ((ap) = (va_list)0)

#endif //ONIX_STDARG_H